========================================
 HOW TO ADD CUSTOM BOT SKINS
========================================

PvP Practice Bots ships with 10 skin slots. The placeholder skins are
numbered 1-10 on their chest so you can tell which slot is which in-game.

----------------------------------------
 USING SKINS
----------------------------------------

Both spawn commands take an optional Skin parameter at the very end:

  /pb:spawnbot <difficulty> <kit> <target> <ignoreTag> <x> <y> <z> <name> <skin>
  /pb:mlspawn  <class> <difficulty> <target> <x> <y> <z> <skin>

Examples:

  /pb:spawnbot hard sword all none ~ ~ ~ Steve skin3
  /pb:mlspawn sword easy bot ~ ~ ~ skin7
  /pb:mlspawn crystal hard player ~ ~ ~ random

Options are: default, random, skin1, skin2, ... skin10
  default  - the normal bot skin (same as leaving the argument off)
  random   - rolls one of the 10 slots each time a bot spawns

Because these are positional optional arguments, you have to fill in the
arguments before Skin to reach it. Leaving Skin off entirely keeps every
command you already use working exactly as before.

----------------------------------------
 REPLACING A SKIN
----------------------------------------

1. Get your skin as a standard 64x64 Minecraft skin PNG.
   (Download it from the Minecraft launcher, or a site like namemc.com)
   NOTE: Slim (Alex) arm skins will render on the classic wide model.

2. Go into this resource pack's folder:
   textures/entity/skins/
   Replace one of the placeholder files (skin_1.png ... skin_10.png)
   with your PNG. Keep the file name exactly the same!

3. (Optional) Open the BEHAVIOUR pack's scripts/skins.js and rename the
   matching entry in SKIN_LABELS so your skin shows a proper name in the
   chat confirmation message.
   skin_1.png = first entry, skin_2.png = second entry, etc.

4. Reload the world.

----------------------------------------
 ADDING MORE THAN 10 SLOTS
----------------------------------------

1. Add textures/entity/skins/skin_11.png
2. Register it in entity/player.entity.json under "textures"
     "skin_11": "textures/entity/skins/skin_11"
3. Append "Texture.skin_11" to the Array.skins list in
   render_controllers/player.render_controllers.json
4. In the BEHAVIOUR pack, add a "pb:skin_11" component group with
   mark_variant 11 and a matching "pb:set_skin_11" event in
   entities/player.json (copy an existing pair and bump the numbers -
   remember every set_skin event must remove all the other skin groups).
5. In the BEHAVIOUR pack, bump SKIN_COUNT in scripts/skins.js to 11 and
   add a label to SKIN_LABELS.

----------------------------------------
 NOTE ON OTHER ADDONS
----------------------------------------

This pack overrides the vanilla player entity and its third-person render
controller. If you run another addon that also overrides minecraft:player
(for example Video Roleplay Bots), only one of them wins, and bot skins may
stop working. Keep the pack you want on top in the pack order list.
